#!/bin/bash

file="${1}"
shift 1

if [ -z "${file}" ]
then
    1>&2 echo "usage:"
    1>&2 echo "  ${0} <file> [<option>]"
    exit 1
fi

set -x
exec ffmpeg -i "$file" "${file}.mp3" "$@"

